package org.ejc.persist.model;

import java.io.Serializable;
import java.util.Set;
import org.apache.commons.lang.builder.ToStringBuilder;


/** @author Hibernate CodeGenerator */
public class PriceType implements Serializable {

    /** identifier field */
    private Integer priceTypeId;

    /** nullable persistent field */
    private String priceTypeDesc;

    /** persistent field */
    private org.ejc.persist.model.PriceGroup priceGroup;

    /** persistent field */
    private Set prices;

    /** full constructor */
    public PriceType(Integer priceTypeId, String priceTypeDesc, org.ejc.persist.model.PriceGroup priceGroup, Set prices) {
        this.priceTypeId = priceTypeId;
        this.priceTypeDesc = priceTypeDesc;
        this.priceGroup = priceGroup;
        this.prices = prices;
    }

    /** default constructor */
    public PriceType() {
    }

    /** minimal constructor */
    public PriceType(Integer priceTypeId, org.ejc.persist.model.PriceGroup priceGroup, Set prices) {
        this.priceTypeId = priceTypeId;
        this.priceGroup = priceGroup;
        this.prices = prices;
    }

    public Integer getPriceTypeId() {
        return this.priceTypeId;
    }

    public void setPriceTypeId(Integer priceTypeId) {
        this.priceTypeId = priceTypeId;
    }

    public String getPriceTypeDesc() {
        return this.priceTypeDesc;
    }

    public void setPriceTypeDesc(String priceTypeDesc) {
        this.priceTypeDesc = priceTypeDesc;
    }

    public org.ejc.persist.model.PriceGroup getPriceGroup() {
        return this.priceGroup;
    }

    public void setPriceGroup(org.ejc.persist.model.PriceGroup priceGroup) {
        this.priceGroup = priceGroup;
    }

    public Set getPrices() {
        return this.prices;
    }

    public void setPrices(Set prices) {
        this.prices = prices;
    }

    public String toString() {
        return new ToStringBuilder(this)
            .append("priceTypeId", getPriceTypeId())
            .toString();
    }

}
